-- GENERATED SPELL FOR [Black Drake] --


function spell0_7044(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(8873,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7044', 1700, 1)
end

function Sorts_7044(pUnit, Event)
local choix_sorts_7044 = math.random(0, 0)
if choix_sorts_7044 == 0 then
pUnit:RegisterEvent('spell0_7044', 1, 1)
end
end

function mob7044_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7044', math.random(1500, 3000), 1)
end

function mob7044_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7044_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7044_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7044, 1, 'mob7044_Action')
RegisterUnitEvent(7044, 2, 'mob7044_Leave')
RegisterUnitEvent(7044, 3, 'mob7044_Kill')
RegisterUnitEvent(7044, 4, 'mob7044_Die')
